Calculates the sum of the expression entered from an initial value (a) to final value (b), where the value of a should not be greater than the value of b.